package view.msg
{
	import mx.containers.VBox;
	import mx.controls.listClasses.BaseListData;
	import mx.controls.listClasses.IDropInListItemRenderer;
	import mx.controls.listClasses.IListItemRenderer;
	import mx.core.IDataRenderer;
	
	public class ProtoEditorClass extends VBox 
	   implements 
	   IDataRenderer, IDropInListItemRenderer, IListItemRenderer
	{
		public function ProtoEditorClass()
		{
			super();
		}
	
	    // Internal variable for the property value.
	    private var _listData:BaseListData;
	    
	    // Make the listData property bindable.
	    [Bindable("dataChange")]
	    
	    // Define the getter method.
	    public function get listData():BaseListData
	    {
	      return _listData;
	    }
	    
	    // Define the setter method,
	    public function set listData(value:BaseListData):void
	    {
	      _listData = value;
	    }
//	
//	    // Internal variable for the property value.
//	    private var _data:Object;
//	    
//	    // Make the data property bindable.
//	    //[Bindable("dataChange")]
//	    [Bindable("dataChange")]
//	    // Define the getter method.
//	    override public function get data():Object {
//	        return _data;
//	    }
//	    
//	    // Define the setter method, and dispatch an event when the property
//	    // changes to support data binding.
//	    override public function set data(value:Object):void {
//	        _data = value;
//
//	        dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
//	    }
//	  
//	  override protected function createChildren():void
//	  {
//	  	    super.createChildren();
////	  	    if(!label) {
////	  	    	label = new Label();
////	  	    	label.text = "hahahaha";
////	  	    	addChild(DisplayObject(label));
////	  	    }
//	  	     
//	  }
//	  
//	   override protected function commitProperties():void {
//	   	   super.commitProperties();
//	   }
//	   
//	  override protected function measure():void 
//	  {
//            super.measure();
//            measuredHeight  = 300;
//            measuredWidth  = 200;
//	  }
//
//        override protected function updateDisplayList(unscaledWidth:Number,
//                unscaledHeight:Number):void 
//        {
//            super.updateDisplayList(unscaledWidth, unscaledHeight);         
//        }
//                
//        public var result:String;
//        //private var label:Label;
//        
    
	}
}